package com.zztl.infiniteBand.model

/**
 * @desc
 * @auth ${user}
 * @time 2018/9/25  10:25
 */
class FindBean : BaseResponseBean<FindBean.DataBean>() {

    /**
     * code : 0
     * data : {"news":[{"createTime":1537842261000,"data":"5rWL6K+V5Liq6Zeu6L+H5oiR5LqM6K+d5aaC5L2V5aaC5L2V5aiB5bCU5ZKM5rip5ZOl5Y2O5Li65L2V54mp6ICM","messageNoticeId":"mn204391162654625792","messageTypeId":"news","messageTypeName":"新闻资讯","title":"测试","updateTime":1537842261000,"userSendId":"000000000000"}],"systems":[{"createTime":1537340761000,"data":"a2dmaGY=","messageNoticeId":"mn202287719366397952","messageTypeId":"system","messageTypeName":"系统公告","title":"gjhj","updateTime":1537842220000,"userSendId":"000000000000"}],"banners":[{"createTime":1537340299000,"data":"ZmV3ZnNk","messageNoticeId":"mn202285782034157568","messageTypeId":"banner","messageTypeName":"活动Banner","title":"ewr","updateTime":1537842216000,"userSendId":"000000000000"}]}
     */


    class DataBean {
        var news: List<NewsBean>? = null
        var systems: List<SystemsBean>? = null
        var banners: List<BannersBean>? = null

        class NewsBean : BaseNewsBean() {
            /**
             * createTime : 1537842261000
             * data : 5rWL6K+V5Liq6Zeu6L+H5oiR5LqM6K+d5aaC5L2V5aaC5L2V5aiB5bCU5ZKM5rip5ZOl5Y2O5Li65L2V54mp6ICM
             * messageNoticeId : mn204391162654625792
             * messageTypeId : news
             * messageTypeName : 新闻资讯
             * title : 测试
             * updateTime : 1537842261000
             * userSendId : 000000000000
             */


            var messageNoticeId: String? = null
            var messageTypeId: String? = null
            var messageTypeName: String? = null

            var updateTime: Long = 0
            var userSendId: String? = null
        }

        class SystemsBean : BaseNewsBean() {
            /**
             * createTime : 1537340761000
             * data : a2dmaGY=
             * messageNoticeId : mn202287719366397952
             * messageTypeId : system
             * messageTypeName : 系统公告
             * title : gjhj
             * updateTime : 1537842220000
             * userSendId : 000000000000
             */


            var messageNoticeId: String? = null
            var messageTypeId: String? = null
            var messageTypeName: String? = null

            var updateTime: Long = 0
            var userSendId: String? = null
        }

        class BannersBean : BaseNewsBean() {
            /**
             * createTime : 1537340299000
             * data : ZmV3ZnNk
             * messageNoticeId : mn202285782034157568
             * messageTypeId : banner
             * messageTypeName : 活动Banner
             * title : ewr
             * updateTime : 1537842216000
             * userSendId : 000000000000
             */


            var messageNoticeId: String? = null
            var messageTypeId: String? = null
            var messageTypeName: String? = null

            var updateTime: Long = 0
            var userSendId: String? = null
        }
    }

    open class BaseNewsBean {
        var createTime: Long = 0
        var data: String? = null
            set(dataX) {
                field = this.data
            }
        var title: String? = null
        var homeImg: String? = null
    }
}
